package com.bawei.mall.product.enums;

/**
 * 用户状态
 *
 * @author bawei
 */
public enum SaleStatus
{
    ON(1, "上架"), OFF(2, "下架");

    private final Integer code;
    private final String info;

    SaleStatus(Integer code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public Integer getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
